package com.tender.desensitization.filter;


import java.io.InputStream;
import java.io.OutputStream;
import java.lang.reflect.Field;

public class StreamFieldFilter implements FieldFilter {
    @Override
    public boolean isMatch(Field field) {
        return InputStream.class.isAssignableFrom(field.getType())
            || OutputStream.class.isAssignableFrom(field.getType());
    }
}